using UnityEngine;

public class PlayerState_跳跃重击 : PlayerStateBase
{
	private float _EnterDrag;

	public PlayerState_跳跃重击()
	{
		_Data_Player招式_系数 = MonoSingleton<MyDataManager>.Instance._Data_玩家招式._跳跃_重击;
	}

	public override void OnEnter()
	{
		_Mono._可以受击 = false;
		_Mono._Rb2D.velocity = Vector2.zero;
		_Mono._Ani.SetTrigger("跳跃重击");
		_Mono._Rb2D.velocity = new Vector2((_Mono._朝向右边 ? 1 : (-1)) * 20, 0f);
		_Timer = _Mono._Dict_AniName_time["跳跃重击"];
		_NextState = StateType_Player.正常移动;
		_Mono._C_攻击判断._击退力度 = 8f;
		F_创建攻击命中回调();
	}

	public override void OnExit()
	{
		_Mono._可以受击 = true;
		_Mono._C_攻击判断._攻击命中回调 -= F_攻击命中回调;
	}

	public override void OnUpdate()
	{
		base.OnUpdate();
	}
}
